package com.loie.datacenter.model.stockpo;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Bar {
    LocalDateTime timestamp;
    double open, high, low, close;

    public Bar(LocalDateTime timestamp, double open, double high, double low, double close) {
        this.timestamp  = timestamp;
        this.open  = open;
        this.high  = high;
        this.low  = low;
        this.close  = close;
    }
}
